package com.kamisama.utopia.constant.character;

public class Mood {
    public static final String LV1 = "心态爆炸";
    public static final String LV2 = "素质三连";
    public static final String LV3 = "心如止水";
    public static final String LV4 = "小确幸";
    public static final String LV5 = "喜极而泣";

    public static String formatMood(int moodPercent) {
        String mood = "";
        if (moodPercent <= 20) {
            mood = "心情：" + Mood.LV1;
        } else if (moodPercent <= 40) {
            mood = "心情：" + Mood.LV2;
        } else if (moodPercent <= 60) {
            mood = "心情：" + Mood.LV3;
        } else if (moodPercent <= 80) {
            mood = "心情：" + Mood.LV4;
        } else {
            mood = "心情：" + Mood.LV5;
        }
        mood = mood + " [" + moodPercent +"%] \n";
        return mood;
    }
}
